package org.zfes.snowier.zbss.xzy.biz.solution.service;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import org.zfes.snowier.core.data.DataSet;
import org.zfes.snowier.zbss.xzy.biz.solution.model.SolutionDevice;
import org.zfes.snowier.zbss.xzy.solution.SolutionDto;
public interface ISolutionDeviceService{

	
	 List<SolutionDevice> loadByDeviceId(Long deviceId);
	
	 Optional<SolutionDevice> loadSolutionDeviceById(Long id);
	 
	 Optional<SolutionDevice> loadBydevIdAndSolId(Long deviceId,Long solutionId);
	 
	 void deleteBydeviceId(Long deviceId);
	 
	 void createSolutionDevice(SolutionDevice solutionDevice);
	
	
	 DataSet loadSolutionDeviceDataSet(Map<String, Object> params);
	 

	List<SolutionDto> loadSolutionsDeviceConfiged(Long deviceId);

	List<SolutionDto> loadSolutionsDeviceNotConfiged(Long deviceId,String name);


	void bindDeviceSolutions(Long deviceId, List<Long> solutionIds);
    
	void unbindDeviceSolutions(Long deviceId,List<Long> solutionIds);
}